﻿<sdk:Page x:Class="SampleBrowser.About" 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
    mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480"
    Title="About" >

    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>

        <ScrollViewer x:Name="PageScrollViewer" Grid.Row="1" Style="{StaticResource PageScrollViewerStyle}">
            <RichTextBox x:Name="ContentText" Style="{StaticResource RichTextBoxStyle}">
                <Paragraph>
                    <InlineUIContainer >
                        <Image Source="/SampleBrowser;component/Assets/Logo.png" Stretch="None" />
                    </InlineUIContainer>
                    <LineBreak />
                </Paragraph>
                <Paragraph>
                    <Run Text="Document Toolkit for Silverlight is a fast, feature-rich and 100% client-only document viewer for Silverlight. Document Toolkit offers a range of features that enables easy document access and document display in Silverlight applications. For more information on Document Toolkit visit "/>
                    <Hyperlink NavigateUri="http://documenttoolkit.com" TargetName="_blank" Foreground="{StaticResource HighlightBrush}" MouseOverForeground="{StaticResource HighlightLightBrush}">http://documenttoolkit.com</Hyperlink>
                    <Run Text="." />
                    <LineBreak />
                </Paragraph>
                <Paragraph>
                    <Run Text="Document Toolkit is a product of" />
                    <Hyperlink NavigateUri="http://firstfloorsoftware.com" TargetName="_blank" Foreground="{StaticResource HighlightBrush}" MouseOverForeground="{StaticResource HighlightLightBrush}">First Floor Software</Hyperlink>

                    <Run Text=", the company that brings you Silverlight Spy." />
                    <LineBreak />
                </Paragraph>
                <Paragraph>
                    <Run Text="PDF Support" FontWeight="Bold" />
                    <LineBreak />
                    <Run Text="PDF support for Document Toolkit is provided by the PdfDocumentReader, an open source package reader available in the Document Toolkit Extensions open source project. The PDF render engine implements parts of the PDF specification, there are no guarantees that your PDF document is rendered correctly." />
                    <LineBreak />
                </Paragraph>
                <Paragraph>
                    <Run Text="Version" FontWeight="Bold" />
                    <LineBreak />
                    <Run Text="This application uses" />
                    <Run Text="{Binding DisplayName}" />
                </Paragraph>
            </RichTextBox>
        </ScrollViewer>
    </Grid>

</sdk:Page>